package com.zsd.android.recyclerviewlibrary.listener;

public abstract class BaseRViewItem<T> implements RViewItem<T> {

    protected OnClickItemListener<T> onClickItemListener;
    protected OnLongClickItemListener<T> onLongClickItemListener;

    public void setOnClickItemListener(OnClickItemListener<T> onClickItemListener) {
        this.onClickItemListener = onClickItemListener;
    }

    public void setOnLongClickItemListener(OnLongClickItemListener<T> onLongClickItemListener) {
        this.onLongClickItemListener = onLongClickItemListener;
    }

    @Override
    public boolean openClick() {
        return true;
    }
}
